package com.winning.pmph.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.winning.pmph.entity.TaskItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TaskItemMapper extends PMPHBaseMapper<TaskItem> {
    List<TaskItem> selectItemCountByTaskIdAndEditor(String userName, String taskId);

    IPage<TaskItem> selectAuditFinishTaskItem(@Param("page") Page page,  String userName, String drugInfoLibCompany, TaskItem taskItem);

    IPage<TaskItem> selectEditFinishTaskItem(@Param("page") Page page, String knowledgeLibId, String fieldId, String libFieldId, String userName, String taskId, String name, String taskType, String drugInfoLibCompany, String status);

}

